package pres.wchen.bussiness.vo;

import org.apache.ibatis.type.Alias;
import java.io.Serializable;

/**
 * @作者： wchen
 * @描述： 用户表
 * @创建时间： 2018/02/16 13:30:30
 * @版本：Copyright 2018, Inc. All Rights Reserved.
 * @修改信息：
 */
@Alias("sysUserVO")
public class SysUserVO implements Serializable{
    /**
     *
     * 
     */
    private Long id;
    /**
     *
     * 用户名
     */
    private String username;
    /**
     *
     * 密码
     */
    private String password;
    /**
     *
     * 密码加盐
     */
    private String salt;
    /**
     *
     * 是否锁住：1是 0否
     */
    private Integer isLocked;
    /**
     *
     * 账号状态
     */
    private String status;
    /**
     *
     * 创建时间
     */
    private String createTime;
    /**
     *
     * 创建人id
     */
    private Long createUserId;
    /**
     *
     * 创建人名称
     */
    private String createUserName;
    /**
     *
     * 最后修改时间
     */
    private String lastUpdateTime;
    /**
     *
     * 最后修改人id
     */
    private Long lastUpdateUserId;
    /**
     *
     * 最后修改人名称
     */
    private String lastUpdateUserName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }
    public Integer getIsLocked() {
        return isLocked;
    }

    public void setIsLocked(Integer isLocked) {
        this.isLocked = isLocked;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }
    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
    public String getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(String lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
    public Long getLastUpdateUserId() {
        return lastUpdateUserId;
    }

    public void setLastUpdateUserId(Long lastUpdateUserId) {
        this.lastUpdateUserId = lastUpdateUserId;
    }
    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName;
    }


    @Override
    public String toString() {
        return "SysUserVO{" +
                "id='" + id + ";  " +
                "username='" + username + ";  " +
                "password='" + password + ";  " +
                "salt='" + salt + ";  " +
                "isLocked='" + isLocked + ";  " +
                "status='" + status + ";  " +
                "createTime='" + createTime + ";  " +
                "createUserId='" + createUserId + ";  " +
                "createUserName='" + createUserName + ";  " +
                "lastUpdateTime='" + lastUpdateTime + ";  " +
                "lastUpdateUserId='" + lastUpdateUserId + ";  " +
                "lastUpdateUserName='" + lastUpdateUserName + ";  " +

                '}';
    }
}
